<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:c="http://java.sun.com/jsp/jstl/core" 
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:p="http://primefaces.org/ui">

<f:view contentType="text/html">
	<h:head>
		<h:outputStylesheet library="css" name="common-style.css" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />	
		<h:outputScript library="javascript" name="common-scripts.js" />
		<h:outputScript  library="javascript" name="jquery-corner.js"  />
		<h:outputScript library="javascript" name="jquery-maskMoney.js"/>
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"/> 	
	</h:head>
	
	<h:body>		
		<p:growl showDetail="true" globalOnly="true"/>
		<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/>  
		
		<table id="imobiliaria" cellpadding="0" cellspacing="0" style="background-color:#{searchImovelController.cliente.template.corFundo}; color:#{searchImovelController.cliente.template.corFontes};">
			<tbody>
				<tr>
					<td id="page-main">
						<ui:insert name="page">
							<table cellpadding="0" cellspacing="0" width="100%">
								<tr>
									<td valign="top">
										<ui:insert name="header-imobiliaria">
											<ui:include src="/faces/site/xhtml/templates/header-imobiliaria.xhtml" />
										</ui:insert>
									</td>
								</tr>
								<tr>
									<td valign="top">
										<ui:insert name="body-imobiliaria">
											
										</ui:insert>
									</td>
								</tr>
								<tr>
									<td valign="top">
										<ui:insert name="footer-imobiliaria">
											<ui:include src="/faces/site/xhtml/templates/footer-imobiliaria.xhtml" />
										</ui:insert>
									</td>
								</tr>							
							</table>
						</ui:insert>
					</td>
				</tr>				
			</tbody>
		</table>
		
	    <p:dialog modal="true" widgetVar="statusDialog" header="#{msg['template.status.title']}"   
		        draggable="false" closable="false" resizable="false">  
		    <p:graphicImage value="#{resource['images:util/ajax-loader.gif']}" />  
		</p:dialog>  
	</h:body>	
</f:view>

</html>